<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  

  <script src="./src/axios.min.js"></script>

  <script>
    const request = axios.create({
      baseURL: "http://localhost:8082/api",
      timeout: 60000,
    });
    (function() {
      'use strict';

      request.get('/test').then(res => {
        console.log(res);
      }).catch(err => {
        console.error(err);
      })
    })();
  </script>
</body>
</html>